﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sinacor.Infra.Common;
using Parameter = Sinacor.UI.Bovespa.Ordens.Model.Parameter;
using Sinacor.Infra.UI.Common;
using Sinacor.UI.Bovespa.Ordens.Model;
using System.ComponentModel;
using Sinacor.UI.Bovespa.Ordens.Communication.Bovespa.Ordens.Negocio;


namespace Sinacor.UI.Bovespa.Ordens.Communication.Translator
{
    class TranslatorAdrResponse:
    BaseTranslator<Model.ADR , 
    ADRResponse,
    ModelCollection<Model.ADR>, 
    List<ADRResponse>>
    {
  
    public override  Model.ADR  Translate( ADRResponse from)
    {
        Model.ADR to = new Model.ADR();
        to.CodigoNegocio = from._CodigoNegocio;
        to.CodigoCustodianteADR = from.CodigoCustodianteADR;
        to.CodigoCliente = from.CodigoCliente;
        to.DigitoCliente = from.DigitoCliente;
        return to;
    }
}
}
